<?php
// +----------------------------------------------------------------------
// | KongQiAdminBase [ Laravel快速后台开发 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2012~2019 http://www.kongqikeji.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: kongqi <531833998@qq.com>`
// +----------------------------------------------------------------------

namespace App\Plugin\HostServer\Admin;

use App\Plugin\AdminCurlController;
use App\Plugin\HostServer\Services\SearchService;

class BaseController extends  AdminCurlController
{
    public function addSearchModel($model, $data,$type)

    {

        $model=new SearchService($model,$data,$type);

        $model=$model->returnModel();

        return $model;

    }

}